# -*- coding: UTF8 -*-
# Author: Sakurazaki
# (Aitor Martin. @arienai_ne - sakurazaki.setsunita@gmail.com)

config = dict()

def load_config():

    f = open('config.cfg', 'r')
    s = f.readlines()
    f.close()

    global config

    for cfg in s:
        cfg = cfg.split('=')
        try:
            config[cfg[0]] = int(cfg[1].strip('\n'))
        except:
            config[cfg[0]] = cfg[1].strip('\n')
        
